Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.3.25
|
Leadtools.Dicom Namespace > DicomDataSet Class > SetPreamble Method : SetPreamble(Byte[],Int32,Int32) Method |
'Declaration
Public Overloads Sub SetPreamble( _ ByVal preamble() As Byte, _ ByVal offset As Integer, _ ByVal length As Integer _ )
'Usage
Dim instance As DicomDataSet Dim preamble() As Byte Dim offset As Integer Dim length As Integer instance.SetPreamble(preamble, offset, length)
public void setPreamble(byte[] preamble, int offset, int length)
If the value specified in length is > 128, then the Preamble will be set with the first 128 bytes of preamble. If length is < or equal 128, then the Preamble will be set with the entire contents of preamble.
To retrieve the contents of the Preamble, call the GetPreamble method.